// by: wei_sc2
//time: 2020-09-03
//desc: 异常/错误日志api

import request from '@/utils/request'

export function getAllErrorLog(params) {
  return request({
    url: '/sys-monitor/exceptionLog/page',
    method: 'get',
    params: params
  })
}

export function getErrorLog(id) {
  return request({
    url: '/sys-monitor/log/exception',
    method: 'get',
    params: {
      id: id
    }
  })
}